<%@ page language="java" pageEncoding="ISO-8859-1"%>
<%@page import="com.printeverywhere.dto.User"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib uri="http://displaytag.sf.net" prefix="display"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<s:form method="post" action="sendUserMailingList" namespace="/admin" theme="simple" id="form">
<table width="100%">
	<tr>
		<td>
			<s:actionmessage cssClass="verdana11greynormal"/>
			<s:actionerror cssClass="note-red"/>
		</td>
	</tr>
	<tr>
		<td height="40" colspan="2" class="sectionheading bottom-border">
			Registered User Mailing List Name
		</td>
	</tr>
	<tr>
		<td height="8">
		</td>
	</tr>
	<tr>
		<td class="verdana12blacknormal">
			<table width="100%">
				<tr>
					<td colspan="2" class="verdana12blacknormal">
						<display:table name="addSubscriberUserList" pagesize="5" cellpadding="0" cellspacing="0" requestURI="" id="row" class="verdana12blacknormal">
							<display:column title="#" headerClass="Table-Head">
								<c:out value="${row_rowNum}" />
							</display:column>
							<display:column headerClass="Table-Head" property="email" autolink="true"
								titleKey="Email" class="navi-link" />
							<display:column headerClass="Table-Head" title="Send Mail">
								<input type="checkbox" id="delete" name="sendMail" value="<%=((User) row).getId()%>">
							</display:column>
						</display:table>
					</td>
				</tr>
			</table>
		</td>
	</tr>
	<tr>
		<td>
			<table>
				<tr>
					<td>
						<br>
						<s:submit value="Submit" name="Submit" type="image"
							src="../Admin-Images/submit-btn.gif" theme="simple" title="Submit"/>
						<img style="cursor: pointer;"
							onclick="document.getElementById('form').reset();"
							src="../Admin-Images/reset-button.gif" alt="Reset" title="Reset">
					</td>
				</tr>
			</table>
		</td>
		</tr>
</table>
</s:form>